{smcl}
{txt}{sf}{ul off}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}I:\Sebastian\Statistics\Stata\Stata13\fpa-bitsaid-main-tables.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}28 Jul 2025, 12:59:28
{txt}
{com}. version 13.1
{txt}
{com}. 
. use fpa-aid_bits_final,clear
{txt}
{com}. 
. set more off
{txt}
{com}. sort dyad year
{txt}
{com}. teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 1.167e-22}  
Iteration 1:{space 2}EE criterion = {res: 3.137e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    98,160
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.902205{col 26}{space 2}  .121457{col 37}{space 1}   32.13{col 46}{space 3}0.000{col 54}{space 4} 3.664154{col 67}{space 3} 4.140256
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.341707{col 26}{space 2} .0263935{col 37}{space 1}  202.39{col 46}{space 3}0.000{col 54}{space 4} 5.289976{col 67}{space 3} 5.393437
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. //table 1
. outreg2 using bits_aid1, label word dec(3) e(n1 n0) replace addtext() noni nor2 ctitle("AIPW") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid1.rtf"'"':bits_aid1.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid1.txt", label"':seeout}

{com}. 
. //table 2: democracies
. su dpi_yio

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 5}dpi_yio {c |}{res}  1,090,125    7.666068    8.073691          0         47
{txt}
{com}. set more off
{txt}
{com}. sort dyad year
{txt}
{com}. ///short time horizon
> teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&dpi_yio<4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 1.211e-24}  
Iteration 1:{space 2}EE criterion = {res: 1.927e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    20,718
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.601044{col 26}{space 2} .2457324{col 37}{space 1}   14.65{col 46}{space 3}0.000{col 54}{space 4} 3.119418{col 67}{space 3} 4.082671
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.796696{col 26}{space 2} .0608949{col 37}{space 1}   95.19{col 46}{space 3}0.000{col 54}{space 4} 5.677344{col 67}{space 3} 5.916048
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. outreg2 using bits_aid2, label word dec(3) e(n1 n0) replace ctitle(Democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid2.rtf"'"':bits_aid2.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid2.txt", label"':seeout}

{com}. ///long time horizon
> teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&dpi_yio>=4&dpi_yio!=.&p_polity2>=6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 1.397e-19}  
Iteration 1:{space 2}EE criterion = {res: 7.445e-30}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    17,279
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 4.015338{col 26}{space 2} .4122646{col 37}{space 1}    9.74{col 46}{space 3}0.000{col 54}{space 4} 3.207314{col 67}{space 3} 4.823362
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.983381{col 26}{space 2} .0655328{col 37}{space 1}   91.30{col 46}{space 3}0.000{col 54}{space 4} 5.854939{col 67}{space 3} 6.111823
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. outreg2 using bits_aid2, label word dec(3) e(n1 n0) append ctitle(Democracy long) noni nor2 cttop("AIPW") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid2.rtf"'"':bits_aid2.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid2.txt", label"':seeout}

{com}. 
. //table 3: non-democracies
. ///short time horizon
> teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&dpi_yio<10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 4.697e-23}  
Iteration 1:{space 2}EE criterion = {res: 1.584e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    33,229
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 4.318999{col 26}{space 2} .2593657{col 37}{space 1}   16.65{col 46}{space 3}0.000{col 54}{space 4} 3.810652{col 67}{space 3} 4.827347
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.232059{col 26}{space 2} .0442893{col 37}{space 1}  118.13{col 46}{space 3}0.000{col 54}{space 4} 5.145254{col 67}{space 3} 5.318865
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. outreg2 using bits_aid3, label word dec(3) e(n1 n0) replace ctitle(Non-democracy short) noni nor2 sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid3.rtf"'"':bits_aid3.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid3.txt", label"':seeout}

{com}. ///long time horizon
> teffects aipw (lnaid lp_polity2  lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lgdpgr_i lpta colonial_tie ln_distance lunsc_member lally lcoldwar) ///
> (lbit_ratf lag_tbit lp_polity2 lln_gdppc lwdi_gdpgr lwdi_fdiin lwdi_natrr llnpop lconflict lpta lally lunsc_member colonial_tie  lcoldwar) if oecd_i==1&oecd_j==0&dpi_yio>10&dpi_yio!=.&p_polity2<6&p_polity2!=.

{res}{txt}Iteration 0:{space 2}EE criterion = {res: 9.171e-22}  
Iteration 1:{space 2}EE criterion = {res: 5.955e-31}  
{res}
{txt}Treatment-effects estimation{col 49}Number of obs {col 67}= {res}    20,767
{txt:Estimator}{col 16}:{res: augmented IPW}
{txt:Outcome model}{col 16}:{res: linear by ML}
{txt:Treatment model}{col 16}:{res: logit}
{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       lnaid{col 14}{c |} Coefficient{col 26}  std. err.{col 38}      z{col 46}   P>|z|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}ATE          {txt}{c |}
{space 3}lbit_ratf {c |}
{space 3}(1 vs 0)  {c |}{col 14}{res}{space 2} 3.886092{col 26}{space 2} .2248789{col 37}{space 1}   17.28{col 46}{space 3}0.000{col 54}{space 4} 3.445338{col 67}{space 3} 4.326847
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}POmean       {txt}{c |}
{space 3}lbit_ratf {c |}
{space 10}0  {c |}{col 14}{res}{space 2} 5.004502{col 26}{space 2} .0563386{col 37}{space 1}   88.83{col 46}{space 3}0.000{col 54}{space 4}  4.89408{col 67}{space 3} 5.114923
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. outreg2 using bits_aid3, label word dec(3) e(n1 n0) append ctitle(Non-democracy long) noni nor2 cttop("AIPW") sortvar(r1vs0.lbit_ratf r0.lbit_ratf)
{txt}{stata `"shellout using `"bits_aid3.rtf"'"':bits_aid3.rtf}
{browse `"I:\Sebastian\Statistics\Stata\Stata13"' :dir}{com} : {txt}{stata `"seeout using "bits_aid3.txt", label"':seeout}

{com}. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}I:\Sebastian\Statistics\Stata\Stata13\fpa-bitsaid-main-tables.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}28 Jul 2025, 13:34:55
{txt}{.-}
{smcl}
{txt}{sf}{ul off}